export default [
  {
    path: '/user',
    layout: false,
    routes: [{ name: '登录', path: '/user/login', component: './User/Login' }],
  },
  { path: '/', redirect: '/add_chart' },
  { name: '智能分析', path: '/add_chart', icon: 'barChart', component: './AddChart'},
  { name: '智能分析(异步线程池)', path: '/add_chart_async', icon: 'barChart', component: './AddChartAsync'},
  { name: '我的图表', path: '/my_chart', icon: 'pieChart', component: './MyChart'},
  { path: '/my_chart/detail/:id', component: './MyChartDetail'},
  { path: '*', layout: false, component: './404' },
];
